<?php



class ListCountriesMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListCountriesMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListCountriesPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListCountriesPeer::TABLE_NAME);
		$tMap->setPhpName('ListCountries');
		$tMap->setClassname('ListCountries');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('IDEN', 'Iden', 'VARCHAR', true, 20);

		$tMap->addColumn('NAME', 'Name', 'VARCHAR', true, 50);

		$tMap->addColumn('CURRENCY_NAME', 'CurrencyName', 'VARCHAR', true, 50);

		$tMap->addColumn('CURRENCY_CODE', 'CurrencyCode', 'VARCHAR', true, 10);

	} 
} 